package storage;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Text;
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class KMLDocument {
	
	@SuppressWarnings("unused")
	@PrimaryKey
	@Persistent
	private String id = "BICING";
	@Persistent
	private Text kml;
	
	public KMLDocument(String kml){
		this.kml = new Text(kml);
	}

	
	public String getKml(){
		return kml.getValue();
	}
}
